Skip to content

feat(web): expand saved prompt previews - #169

Merged
pandec merged 2 commits into
devfrom
t3code/expand-saved-prompt-previews
Aug 23, 2026
Merged

feat(web): expand saved prompt previews#169
pandec merged 2 commits into
devfrom
t3code/expand-saved-prompt-previews

Conversation

@pandec

@pandec pandec commented Aug 23, 2026

Copy link
Copy Markdown
Owner

What changed

Saved prompt rows now use a content-sized action area, so the inline preview reaches farther across the row. A chevron before Edit reveals the full prompt text without opening the editor. Expansion also works in read-only mode and is linked to its panel for screen readers.

Why

The generic settings row reserved a 10rem control column for one edit icon, which truncated previews early. Opening Edit was also the only way to read the complete prompt.

Checks

  • vp test run apps/web/src/components/settings/PromptsSettings.test.tsx
  • vp check
  • vp run typecheck

Model: gpt-5.6-sol with Fable 5 implementation and Opus 5 review, using the Claude Agent SDK.

pandec added 2 commits August 23, 2026 12:11
The full content starts with the same first line, so keeping the inline
preview visible read it twice.
@pandec
pandec merged commit f47b6a4 into dev Aug 23, 2026
1 check passed
@pandec
pandec deleted the t3code/expand-saved-prompt-previews branch August 23, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant